<template>
  <div>
    <h1>Children {{ count }}</h1>
    <button @click="add">增加</button>
    <SonVue></SonVue>
  </div>
</template>

<script>
import SonVue from './Son.vue'
import numMin from '@/mixins/num'
export default {
  name: 'Children',
  data() {
    return {
      count: 100,
    }
  },
  components: {
    SonVue,
  },
  mounted() {
    console.log('初始化--内部')
  },
  mixins: [numMin],
}
</script>

<style></style>
